package com.jimmy.medical.repository;

import com.jimmy.medical.entity.MemberType;
import com.jimmy.medical.entity.ServiceItem;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ServiceItemRepository extends JpaSpecificationExecutor<ServiceItem>, PagingAndSortingRepository<ServiceItem, Long> {

    List<ServiceItem> findByServiceFlow(String serviceFlow);
}
